using System;
using System.Collections.Generic;
using System.Text;

namespace SAY.Web.Security.QueryStringManagerModule
{
    public class QueryStringItem
    {
        #region Private Fields
        private string _name;
        private string _value;
        private Type _parameterType;
        private bool _isEncrypted;
        #endregion

        #region Public Properties
        public string Value
        {
            get { return _value; }
            set { _value = value; }
        }
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        } 
        public Type ParameterType
        {
            get { return _parameterType; }
            set { _parameterType = value; }
        }
        public bool IsEncrypted
        {
            get { return _isEncrypted; }
            set { _isEncrypted = value; }
        }
        #endregion

        #region Constructors
        public QueryStringItem()
        {
            
        }

        public QueryStringItem(string value, string name, Type type, bool isEncrypted)
        {
            this.Name = name;
            this.Value = value;
            this.ParameterType = type;
            this.IsEncrypted = isEncrypted;
        }
        #endregion
    }
}
